package com.heima.search.service;

import com.heima.model.search.dtos.AssociateSearchDto;
import com.heima.model.search.dtos.HistorySearchDto;
import com.heima.search.pojos.ApAssociateWords;
import com.heima.search.pojos.ApUserSearch;

import java.util.List;

/**
 * @author brianxia
 * @version 1.0
 * @date 2022-10-27 15:13
 */
public interface HistoryService {
    void save(Integer id, String searchWords);

    List<ApUserSearch> load();

    void del(HistorySearchDto dto);

    List<ApAssociateWords> search(AssociateSearchDto dto);
}
